package cup.common.fs;

import lombok.Data;

import java.io.Serializable;
@Data
public class FileNameMapping implements Serializable {
	//原始文件名
	private String name;
	//文件服务器中存储的文件名
	private String storeFileName;
	//文件服务器桶名
	private String bucket;

	private String contentType;

	/**
	 * 文件预览地址
	 */
	private String previewUrl;


	public FileNameMapping(String name, String storeFileName, String bucket, String contentType, String previewUrl) {
		this.name = name;
		this.storeFileName = storeFileName;
		this.bucket = bucket;
		this.contentType = contentType;
		this.previewUrl = previewUrl;
	}

}
